﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;

namespace Util.Props
{
    /// <summary>
    /// A component property.
    /// </summary>
    ///
    [S4Property]
    public class S4Component:Attribute
    {
        private Type _type = null;
        public Type type
        {
            get { return _type; }
            set { _type = value; }
        }

        private Type _defaultValue = typeof(IConfigurable);
        public Type defaultClass
        {
            get{return _defaultValue;}
            set{_defaultValue = value;}
        }

        private Boolean _mandatory = true;
        public Boolean mandatory
        {
            get { return _mandatory; }
            set { _mandatory = value; }
        }
    }
}
